.class public Ldata/GoodsAdapter;
.super Landroid/widget/BaseAdapter;
.source "GoodsAdapter.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ldata/GoodsAdapter$ViewHolder;
    }
.end annotation


# instance fields
.field c:Landroid/content/Context;

.field have:Ljava/lang/String;

.field public imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field lf:Landroid/view/LayoutInflater;

.field ls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/GoodsBean;",
            ">;"
        }
    .end annotation
.end field

.field m:Lmyapp/MyApp;

.field private mListView:Landroid/widget/ListView;

.field private open:Ljava/lang/String;

.field selectid:I

.field private tv_select_boday:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Landroid/widget/ListView;Landroid/widget/TextView;Ljava/lang/String;)V
    .locals 3
    .param p1, "context"    # Landroid/content/Context;
    .param p3, "mListView"    # Landroid/widget/ListView;
    .param p4, "tv_select_boday"    # Landroid/widget/TextView;
    .param p5, "open"    # Ljava/lang/String;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<",
            "Lbean/GoodsBean;",
            ">;",
            "Landroid/widget/ListView;",
            "Landroid/widget/TextView;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 53
    .local p2, "list":Ljava/util/List;, "Ljava/util/List<Lbean/GoodsBean;>;"
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 50
    const-string v1, "2"

    iput-object v1, p0, Ldata/GoodsAdapter;->open:Ljava/lang/String;

    .line 55
    iput-object p1, p0, Ldata/GoodsAdapter;->c:Landroid/content/Context;

    .line 56
    iput-object p2, p0, Ldata/GoodsAdapter;->ls:Ljava/util/List;

    .line 57
    iput-object p3, p0, Ldata/GoodsAdapter;->mListView:Landroid/widget/ListView;

    .line 58
    iput-object p4, p0, Ldata/GoodsAdapter;->tv_select_boday:Landroid/widget/TextView;

    .line 59
    iput-object p5, p0, Ldata/GoodsAdapter;->open:Ljava/lang/String;

    .line 60
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Ldata/GoodsAdapter;->m:Lmyapp/MyApp;

    .line 61
    new-instance v1, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    invoke-direct {v1, p1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;-><init>(Landroid/content/Context;)V

    .line 62
    const/4 v2, 0x3

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->threadPriority(I)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->denyCacheImageMultipleSizesInMemory()Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    .line 63
    new-instance v2, Lcom/nostra13/universalimageloader/cache/disc/naming/Md5FileNameGenerator;

    invoke-direct {v2}, Lcom/nostra13/universalimageloader/cache/disc/naming/Md5FileNameGenerator;-><init>()V

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->diskCacheFileNameGenerator(Lcom/nostra13/universalimageloader/cache/disc/naming/FileNameGenerator;)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    .line 64
    sget-object v2, Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;->LIFO:Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->tasksProcessingOrder(Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->build()Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;

    move-result-object v0

    .line 65
    .local v0, "config":Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/nostra13/universalimageloader/core/ImageLoader;->init(Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;)V

    .line 66
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v1

    iput-object v1, p0, Ldata/GoodsAdapter;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 67
    return-void
.end method

.method public static getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;
    .locals 2

    .prologue
    const v1, 0x7f020047

    .line 331
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    .line 332
    .local v0, "b":Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 333
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 334
    const v1, 0x7f0200a2

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 335
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 336
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisk(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 337
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 338
    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY_STRETCHED:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 339
    sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v1

    return-object v1
.end method


# virtual methods
.method public Getselectid()I
    .locals 1

    .prologue
    .line 89
    iget v0, p0, Ldata/GoodsAdapter;->selectid:I

    return v0
.end method

.method public getCount()I
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Ldata/GoodsAdapter;->ls:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "arg0"    # I

    .prologue
    .line 77
    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "arg0"    # I

    .prologue
    .line 83
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 12
    .param p1, "position"    # I
    .param p2, "convertView"    # Landroid/view/View;
    .param p3, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 93
    const/4 v4, 0x0

    .line 94
    .local v4, "holder":Ldata/GoodsAdapter$ViewHolder;
    if-nez p2, :cond_b

    .line 96
    new-instance v4, Ldata/GoodsAdapter$ViewHolder;

    .end local v4    # "holder":Ldata/GoodsAdapter$ViewHolder;
    invoke-direct {v4}, Ldata/GoodsAdapter$ViewHolder;-><init>()V

    .line 98
    .restart local v4    # "holder":Ldata/GoodsAdapter$ViewHolder;
    iget-object v9, p0, Ldata/GoodsAdapter;->c:Landroid/content/Context;

    invoke-static {v9}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v9

    const v10, 0x7f030067

    const/4 v11, 0x0

    invoke-virtual {v9, v10, v11}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 99
    const v9, 0x7f0c0082

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    .line 100
    const v9, 0x7f0c0080

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    .line 101
    const v9, 0x7f0c000a

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->im5:Landroid/widget/ImageView;

    .line 102
    const v9, 0x7f0c0235

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsname:Landroid/widget/TextView;

    .line 103
    const v9, 0x7f0c0236

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscost:Landroid/widget/TextView;

    .line 104
    const v9, 0x7f0c0081

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    .line 105
    const v9, 0x7f0c0271

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    .line 106
    const v9, 0x7f0c018d

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodattr:Landroid/widget/TextView;

    .line 107
    const v9, 0x7f0c026f

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->xiaoliang:Landroid/widget/TextView;

    .line 108
    const v9, 0x7f0c026d

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->dis:Landroid/widget/TextView;

    .line 109
    const v9, 0x7f0c0273

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->old:Landroid/widget/TextView;

    .line 110
    const v9, 0x7f0c0272

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    .line 111
    const v9, 0x7f0c026c

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->ll_sellout:Landroid/widget/LinearLayout;

    .line 113
    const v9, 0x7f0c026a

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->style_title:Landroid/widget/LinearLayout;

    .line 114
    const v9, 0x7f0c026b

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->areaname2:Landroid/widget/TextView;

    .line 116
    invoke-virtual {p2, v4}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 119
    iget-object v9, p0, Ldata/GoodsAdapter;->m:Lmyapp/MyApp;

    invoke-virtual {v9}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v9

    const-string v10, "1"

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_0

    .line 120
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscost:Landroid/widget/TextView;

    const v10, -0xd53e87

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setTextColor(I)V

    .line 121
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const v10, -0xd53e87

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setTextColor(I)V

    .line 122
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const v10, 0x7f02001b

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 123
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const v10, 0x7f020001

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 133
    :cond_0
    :goto_0
    iget-object v9, p0, Ldata/GoodsAdapter;->ls:Ljava/util/List;

    invoke-interface {v9, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/GoodsBean;

    .line 134
    .local v1, "bb":Lbean/GoodsBean;
    invoke-virtual {v1}, Lbean/GoodsBean;->getDis()Ljava/lang/String;

    move-result-object v9

    const-string v10, "1"

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_1

    .line 135
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->dis:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 136
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->dis:Landroid/widget/TextView;

    new-instance v10, Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Lbean/GoodsBean;->getZc()Ljava/lang/String;

    move-result-object v11

    invoke-static {v11}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v11

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v11, "\u6298"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 137
    invoke-virtual {v1}, Lbean/GoodsBean;->getcost()F

    move-result v9

    invoke-virtual {v1}, Lbean/GoodsBean;->getZc()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/Float;->floatValue()F

    move-result v10

    div-float/2addr v9, v10

    const/high16 v10, 0x41200000    # 10.0f

    mul-float v7, v9, v10

    .line 138
    .local v7, "ol":F
    const/high16 v9, 0x42c80000    # 100.0f

    mul-float/2addr v9, v7

    invoke-static {v9}, Ljava/lang/Math;->round(F)I

    move-result v9

    int-to-float v9, v9

    const/high16 v10, 0x42c80000    # 100.0f

    div-float v7, v9, v10

    .line 139
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->old:Landroid/widget/TextView;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\u539f\u4ef7\uffe5"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, v7}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 140
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->old:Landroid/widget/TextView;

    invoke-virtual {v9}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v9

    const/16 v10, 0x10

    invoke-virtual {v9, v10}, Landroid/text/TextPaint;->setFlags(I)V

    .line 141
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->old:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 144
    .end local v7    # "ol":F
    :cond_1
    invoke-virtual {v1}, Lbean/GoodsBean;->getimg()Ljava/lang/String;

    move-result-object v3

    .line 147
    .local v3, "checkurl":Ljava/lang/String;
    if-eqz v3, :cond_2

    const-string v9, "1"

    invoke-virtual {v3, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_2

    .line 151
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\u521d\u5f00\u59cb\u5316\u56fe\u7247 \u52a0\u8f7d    ==>"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, "\u56fe\u7247:"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 155
    iget-object v9, p0, Ldata/GoodsAdapter;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v10, v4, Ldata/GoodsAdapter$ViewHolder;->im5:Landroid/widget/ImageView;

    invoke-static {}, Ldata/GoodsAdapter;->getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v11

    invoke-virtual {v9, v3, v10, v11}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 157
    :cond_2
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsname:Landroid/widget/TextView;

    invoke-virtual {v1}, Lbean/GoodsBean;->getname()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 158
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscost:Landroid/widget/TextView;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\uffe5"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Lbean/GoodsBean;->getcost()F

    move-result v11

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 159
    iget-object v10, v4, Ldata/GoodsAdapter$ViewHolder;->goodattr:Landroid/widget/TextView;

    invoke-virtual {v1}, Lbean/GoodsBean;->getAttr()Ljava/lang/String;

    move-result-object v9

    const-string v11, ""

    invoke-virtual {v9, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_c

    new-instance v9, Ljava/lang/StringBuilder;

    const-string v11, "/"

    invoke-direct {v9, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Lbean/GoodsBean;->getAttr()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    :goto_1
    invoke-virtual {v10, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 160
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    invoke-virtual {v1}, Lbean/GoodsBean;->getCart()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 161
    invoke-virtual {v1}, Lbean/GoodsBean;->getsellcount()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v8

    .line 163
    .local v8, "xiaoliangcheck":I
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->xiaoliang:Landroid/widget/TextView;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\u5df2\u552e"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Lbean/GoodsBean;->getsellcount()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 166
    invoke-virtual {v1}, Lbean/GoodsBean;->getFirstid()Ljava/lang/String;

    move-result-object v9

    const-string v10, "1"

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_e

    .line 168
    iget-object v9, p0, Ldata/GoodsAdapter;->mListView:Landroid/widget/ListView;

    invoke-virtual {v9}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v9

    if-ne v9, p1, :cond_d

    .line 170
    iget-object v9, p0, Ldata/GoodsAdapter;->tv_select_boday:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 171
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->style_title:Landroid/widget/LinearLayout;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 181
    :goto_2
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 182
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 183
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    invoke-virtual {v1}, Lbean/GoodsBean;->getId()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    .line 184
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    new-instance v10, Ldata/GoodsAdapter$1;

    invoke-direct {v10, p0}, Ldata/GoodsAdapter$1;-><init>(Ldata/GoodsAdapter;)V

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 192
    invoke-virtual {v1}, Lbean/GoodsBean;->getCart()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v6

    .line 193
    .local v6, "nowsell":I
    invoke-virtual {v1}, Lbean/GoodsBean;->getcounts()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    .line 194
    .local v2, "checkstock":I
    if-lez v2, :cond_f

    .line 195
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 196
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 197
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 198
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 200
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->ll_sellout:Landroid/widget/LinearLayout;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 201
    if-gtz v6, :cond_3

    .line 204
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 205
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 207
    :cond_3
    invoke-virtual {v1}, Lbean/GoodsBean;->getHave_det()Ljava/lang/String;

    move-result-object v9

    iput-object v9, p0, Ldata/GoodsAdapter;->have:Ljava/lang/String;

    .line 208
    iget-object v9, p0, Ldata/GoodsAdapter;->have:Ljava/lang/String;

    const-string v10, "1"

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_4

    .line 210
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 211
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setVisibility(I)V

    .line 212
    const-string v9, "fone"

    const-string v10, "\u89c4\u683c"

    invoke-static {v9, v10}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 213
    new-instance v5, Landroid/os/Message;

    invoke-direct {v5}, Landroid/os/Message;-><init>()V

    .line 214
    .local v5, "msg":Landroid/os/Message;
    const/16 v9, 0x28

    iput v9, v5, Landroid/os/Message;->arg1:I

    .line 216
    sget-object v9, Lframent/FramentOrder;->h:Landroid/os/Handler;

    invoke-virtual {v9, v5}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 218
    .end local v5    # "msg":Landroid/os/Message;
    :cond_4
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    new-instance v10, Ldata/GoodsAdapter$2;

    invoke-direct {v10, p0}, Ldata/GoodsAdapter$2;-><init>(Ldata/GoodsAdapter;)V

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 236
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    new-instance v10, Ldata/GoodsAdapter$3;

    invoke-direct {v10, p0}, Ldata/GoodsAdapter$3;-><init>(Ldata/GoodsAdapter;)V

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 257
    :goto_3
    invoke-virtual {v1}, Lbean/GoodsBean;->getClera()Ljava/lang/String;

    move-result-object v9

    if-eqz v9, :cond_10

    invoke-virtual {v1}, Lbean/GoodsBean;->getClera()Ljava/lang/String;

    move-result-object v0

    .line 260
    .local v0, "b":Ljava/lang/String;
    :goto_4
    const-string v9, "0"

    if-eq v0, v9, :cond_5

    const-string v9, "1"

    if-eq v0, v9, :cond_5

    const-string v9, "4"

    if-ne v0, v9, :cond_6

    .line 262
    :cond_5
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 263
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 266
    :cond_6
    const-string v9, "4"

    iget-object v10, p0, Ldata/GoodsAdapter;->open:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_7

    .line 267
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 268
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const-string v10, "\u4f11\u606f\u4e2d"

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 269
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 270
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setVisibility(I)V

    .line 271
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 272
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 275
    :cond_7
    const-string v9, "0"

    iget-object v10, p0, Ldata/GoodsAdapter;->open:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_8

    const-string v9, "1"

    iget-object v10, p0, Ldata/GoodsAdapter;->open:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_9

    .line 276
    :cond_8
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 277
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const-string v10, "\u5df2\u6253\u70ca"

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 278
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 279
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setVisibility(I)V

    .line 280
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 281
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 284
    :cond_9
    invoke-virtual {v1}, Lbean/GoodsBean;->getCart()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I

    move-result v9

    if-lez v9, :cond_a

    .line 285
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 286
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 290
    :cond_a
    return-object p2

    .line 128
    .end local v0    # "b":Ljava/lang/String;
    .end local v1    # "bb":Lbean/GoodsBean;
    .end local v2    # "checkstock":I
    .end local v3    # "checkurl":Ljava/lang/String;
    .end local v6    # "nowsell":I
    .end local v8    # "xiaoliangcheck":I
    :cond_b
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v4

    .end local v4    # "holder":Ldata/GoodsAdapter$ViewHolder;
    check-cast v4, Ldata/GoodsAdapter$ViewHolder;

    .line 129
    .restart local v4    # "holder":Ldata/GoodsAdapter$ViewHolder;
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setVisibility(I)V

    .line 130
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->dis:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 131
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->old:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    .line 159
    .restart local v1    # "bb":Lbean/GoodsBean;
    .restart local v3    # "checkurl":Ljava/lang/String;
    :cond_c
    const-string v9, "/\u4efd"

    goto/16 :goto_1

    .line 175
    .restart local v8    # "xiaoliangcheck":I
    :cond_d
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->style_title:Landroid/widget/LinearLayout;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 176
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->areaname2:Landroid/widget/TextView;

    invoke-virtual {v1}, Lbean/GoodsBean;->getTitleName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_2

    .line 179
    :cond_e
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->style_title:Landroid/widget/LinearLayout;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_2

    .line 250
    .restart local v2    # "checkstock":I
    .restart local v6    # "nowsell":I
    :cond_f
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->delbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 251
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodscoust:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 252
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->addbtn:Landroid/widget/ImageView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 253
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->goodsout:Landroid/widget/TextView;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 254
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->ll_sellout:Landroid/widget/LinearLayout;

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 255
    iget-object v9, v4, Ldata/GoodsAdapter$ViewHolder;->spec:Landroid/widget/Button;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setVisibility(I)V

    goto/16 :goto_3

    .line 257
    :cond_10
    const-string v0, "1"

    goto/16 :goto_4
.end method

.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 0
    .param p1, "arg0"    # Landroid/widget/AbsListView;
    .param p2, "arg1"    # I
    .param p3, "arg2"    # I
    .param p4, "arg3"    # I

    .prologue
    .line 318
    return-void
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 0
    .param p1, "arg0"    # Landroid/widget/AbsListView;
    .param p2, "arg1"    # I

    .prologue
    .line 323
    return-void
.end method

.method public setSelectedPosition(I)V
    .locals 0
    .param p1, "newposition"    # I

    .prologue
    .line 86
    iput p1, p0, Ldata/GoodsAdapter;->selectid:I

    .line 87
    return-void
.end method
